from config import csc_config
# 引用全局变量
name = csc_config.get_name()
# 修改全局变量
# csc_config.set_name('new_name')
# 查看修改后的全局变量
print(csc_config.get_name())


class Father(object):
    def __init__(self, name):
        self.name = name
        print("name: %s" % (self.name))

    def getName(self):
        return 'Father ' + self.name


class Son(Father):
    def getName(self):
        return 'Son ' + self.name


if __name__ == '__main__':
    # son = Son('runoob')
    # print(son.getName())
    print("test")